<extend name="Template:main/content" />
<block name="page-content-wrapper-content">
<div id="content-header">
		<div id="breadcrumb"> <a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i>资源管理</a>
		 <a href="__CONTROLLER__/index" form-type='content'>文库</a> 
		 <a>编辑</a>
		 </div>
</div>
	<div class="container-fluid">
		<hr>
		<div class="row-fluid">
			<div class="span12">
				<div class="widget-box">
					<div class="widget-title"> <span class="icon"> <i class="icon-info-sign"></i> </span>
						<h5>编辑文库</h5>
					</div>
					<div class="widget-content nopadding">
						<form class="form-horizontal" method="post" action="__CONTROLLER__/update" name="basic_validate" id="basic_validate" novalidate="novalidate">
							<input type="hidden" name ="id" value="{$vo.id}"/>
							<div class="control-group">
							<label class="control-label">文库内容</label>
							<div class="controls">
								<textarea id="leave-editor" name="content" placeholder='内容' style="width: 750px;margin-top: 10px;height: 100px;"></textarea>
							</div>
						</div>
						 <div class="control-group">
							<label class="control-label">选择分类</label>
							<div class="controls" >
								<select name="classify_id">
								<volist name="LibraryClassify_result" id="v">
									<option value="{$v.id}">{$v.name}</option>
									</volist>
								</select>
							</div>
						</div>
							<div class="form-actions">
								<button type="submit" class="btn btn-success" form-type="form-content" >修改</button>
								<a href="__CONTROLLER__/index" form-type='content'>
									<button class="btn btn-success">返回</button>
								</a>
							</div>
							
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script src="__PUBLIC__/matrix/matrix-admin/js/matrix.form_validation.js" type="text/javascript" charset="utf-8"></script>
</block>